package com.link2room.aeriabots.dto.result.base;


import com.link2room.common.dto.result.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by LN on 2016/11/22.
 */
@ApiModel
public class WxOfficialAccountsMenuDto extends BaseDto {
    public WxOfficialAccountsMenuDto(String menuCode) {
        this.menuCode = menuCode;
    }

    public WxOfficialAccountsMenuDto() {
    }
    @ApiModelProperty(value = "菜单编码")
    private String menuCode;
    @ApiModelProperty(value = "节点编码")
    private String nodeCode;
    @ApiModelProperty(value = "节点类型")
    private String nodeType;
    private String type;
    @ApiModelProperty(value = "名称")
    private String name;
    private String key;
    private String url;
    private String mediaId;
    private String inUse;
    /**
     * 子节点
     */
    @ApiModelProperty(value = "子选项")
    private List<com.link2room.aeriabots.dto.result.base.WxOfficialAccountsMenuDto> childNodes ;

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(String nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public List<com.link2room.aeriabots.dto.result.base.WxOfficialAccountsMenuDto> getChildNodes() {
        return childNodes;
    }

    public void setChildNodes(List<com.link2room.aeriabots.dto.result.base.WxOfficialAccountsMenuDto> childNodes) {
        this.childNodes = childNodes;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getInUse() {
        return inUse;
    }

    public void setInUse(String inUse) {
        this.inUse = inUse;
    }
}
